package com.mall.b2c.domain.car;

import com.mall.common.domain.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by xing_ on 2017/3/6.
 */
@Entity
@Table(name = "b2c_car")
public class CarDomain extends BaseEntity{

    private String city;
    private String carNo;
    private Date buyDate;
    private BigDecimal price;
    private String mobile;
    private Boolean hasCarNo;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public Date getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Boolean getHasCarNo() {
        return hasCarNo;
    }

    public void setHasCarNo(Boolean hasCarNo) {
        this.hasCarNo = hasCarNo;
    }
}
